﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IQueryable<DAL.SysMenu>>" %>

<!DOCTYPE html>

<html>
<head runat="server">
    <title>NotFound</title>


    <link href="../../Res/treeTable/jquery.treeTable.css" rel="stylesheet" type="text/css" />

    <script src="../../Res/treeTable/jquery.treeTable.js" type="text/javascript"></script>
</head>
<body>
    <div>
               <table class="example" id="dnd-example">
                    <thead>
                        <tr>
                            <th>
                                Title
                            </th>
                            <th>
                                Status
                            </th>
                            <th>
                                Action
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <% foreach (var item in Model)
                           { %>
                        <tr id="node-<%=item.Id %>" <%if(item.parent_id!=0){Response.Write("class='child-of-node-"+item.parent_id+"'");}%>>
                            <td>
                                <span class="<%if(item.kind=="page" || item.kind=="Product"){Response.Write("file");}else{Response.Write("folder");} %>">
                                    <%=Html.Encode(item.Name) %></span>
                            </td>
                            <td>
                            sss
                            </td>
                            <td>
                               sas
                            </td>
                        </tr>
                        <%} %>
                    </tbody>
                </table>
    </div>
</body>
</html>
